Identification of ID Card
Function:
ocr.id_card(image, card_side)Description: identification of ID card
Required parameter:
- image: ID card after BASE64 conversion
- card_side: front or back side. FRONT: portrait side; BACK: emblem side
- Return:
- data: detailed information of ID card
Example
data = ocr.id_card(image, card_side) print(data)Identify the ID card, and return detailed information of the ID card.